<?php use_helper('Date') ?>
<div class="boxdx round">
    <div>
        <div class="title_box"><?php echo image_tag('latest-post') ?></div>

        <div class="side_post">
            <div><strong>"<?php echo strtoupper($post->getTitle()) ?>"</strong></div>
            <div class="side_post_author">
                <?php echo __('posted by') ?>:
                <strong><?php echo $post->getAuthor() ?></strong>
            </div>
            <div class="side_post_date">
                <b><?php echo format_date($post->getDate(), 'dd.').
                    ucwords(format_date($post->getDate(), 'MMM.yyyy')) ?></b>
            </div>
            <div style="clear:both; margin-bottom:6px; border-bottom:1px dotted #000;"></div>
            <div>
                <?php if($short = Custom::getShortText(html_entity_decode($post->getText()))): ?>
                    <?php echo $short ?>
                    <div class="side_post_more"><?php echo link_to(__('read more'), 'post_read', $post) ?></div>
                <?php else: ?>
                    <?php echo html_entity_decode($post->getText()) ?>
                <?php endif; ?>
            </div>
        </div>
    </div>
</div>